<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
         xmlns:ui="http://java.sun.com/jsf/facelets"
         xmlns:h="http://java.sun.com/jsf/html"
         xmlns:f="http://java.sun.com/jsf/core"
         xmlns:p="http://primefaces.org/ui">
       
    <h:head>
       <title>  </title>
    </h:head>
    <h:body onload="window.location.reload();">
       <ui:composition template="/templates/khungchinh.xhtml">
         <ui:define name="tieudetrang">
            #{msgs.tieudetrangdangnhap}
         </ui:define> 
         <ui:define name="phandau">
         <div class="daude">
         	#{msgs.loichao}
         	</div>
         </ui:define>
         <ui:define name="noidung">
      
         <div id="formdangnhap">
         <p:messages id="messages" showDetail="true" autoUpdate="true" closable="true" />
         <h:form>
         <h:panelGrid columns="2">
         <h:outputText value="#{msgs.tendangnhap}"></h:outputText>
         <p:inputText value="#{beanDangNhap.ten}"></p:inputText>
         <h:outputText value="#{msgs.matkhau}"></h:outputText>
         <p:password value="#{beanDangNhap.matkhau}"></p:password>
         </h:panelGrid>
        
         &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
         &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
         &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
         &nbsp;&nbsp;&nbsp;
         <p:commandButton value="#{msgs.nutdangnhap}" action="#{beanDangNhap.kiemtradangnhap}"></p:commandButton>
         </h:form>
         </div>
        
         </ui:define>     
      </ui:composition>
    </h:body>
 </html>